//--------------------------------------------------
// EDID Type Selection
//--------------------------------------------------
#if((_D2_INPUT_PORT_TYPE == _D2_DVI_PORT) || (_D2_INPUT_PORT_TYPE == _D2_DUAL_DVI_PORT))

#define _EDID_D2_TYPE_SEL                               _EDID_DVI_1680_1050_60HZ

#elif((_D2_INPUT_PORT_TYPE == _D2_HDMI_PORT) || (_D2_INPUT_PORT_TYPE == _D2_MHL_PORT))

#if(_D2_HDMI_2_0_SUPPORT == _ON)

#if(_HDMI_2_0_YCBCR420_SUPPORT == _ON)
#define _EDID_D2_TYPE_SEL                               _EDID_HDMI2_3840_2160_60HZ_NO_HFVSDB_WITH_420
#else
#define _EDID_D2_TYPE_SEL                               _EDID_HDMI_1920_1080_60HZ
#endif

#else
#define _EDID_D2_TYPE_SEL                               _EDID_HDMI_1920_1080_60HZ
#endif

#elif(_D2_INPUT_PORT_TYPE == _D2_DP_PORT)

#define _EDID_D2_TYPE_SEL                               _EDID_DP_1920_1080_60HZ

#endif


//--------------------------------------------------
// EDID Table
//--------------------------------------------------
#if((_WRITE_EDID_TO_SYSTEM_EEPROM == _ON) || ((_D2_EMBEDDED_DDCRAM_MAX_SIZE != _EDID_SIZE_NONE) && (_D2_EMBEDDED_DDCRAM_LOCATION == _EDID_TABLE_LOCATION_CODE)))

BYTE code tEDID_TABLE_D2[] =
{
#if(_EDID_D2_TYPE_SEL == _EDID_DVI_1680_1050_60HZ)
#include "./EDID/EdidDvi/EDID_DVI_1680x1050@60.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI_1920_1080_60HZ)
#include "./EDID/EdidHdmi/EDID_HDMI_1920x1080@60.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI_1920_1080_60HZ_HDR)
#include "./EDID/EdidHdmi/EDID_HDMI_1920x1080@60_HDR.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI_1920_1080_40HZ_75HZ_WITH_VSDB_FREESYNC)
#include "./EDID/EdidHdmi/EDID_HDMI_1920x1080_FREESYNC(40,75).h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI_1920_1080_40HZ_120HZ_WITH_VSDB_FREESYNC)
#include "./EDID/EdidHdmi/EDID_HDMI_1920x1080_FREESYNC(40,120).h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI_2560_1440_60HZ)
#include "./EDID/EdidHdmi/EDID_HDMI_2560x1440@60.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI_2560_1440_60HZ_HDR)
#include "./EDID/EdidHdmi/EDID_HDMI_2560x1440@60_HDR.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI_2560_1440_40HZ_70HZ_WITH_VSDB_FREESYNC)
#include "./EDID/EdidHdmi/EDID_HDMI_2560x1440_FREESYNC(40,70).h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI_3840_2160_30HZ)
#include "./EDID/EdidHdmi/EDID_HDMI_3840x2160@30.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI2_3840_2160_60HZ_WITH_HFVSDB_WITH_420)
#include "./EDID/EdidHdmi/EDID_HDMI2_3840x2160@60_HFVSDB_WITH420.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI2_3840_2160_60HZ_WITH_HFVSDB_NO_420)
#include "./EDID/EdidHdmi/EDID_HDMI2_3840x2160@60_HFVSDB.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI2_3840_2160_60HZ_WITH_HFVSDB_WITH_420_HDR)
#include "./EDID/EdidHdmi/EDID_HDMI2_3840x2160@60_HFVSDB_WITH420_HDR.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI2_3840_2160_60HZ_NO_HFVSDB_WITH_420)
#include "./EDID/EdidHdmi/EDID_HDMI2_3840x2160@60_WITH420.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_HDMI2_3840_2160_60HZ_NO_HFVSDB_NO_420)
#include "./EDID/EdidHdmi/EDID_HDMI2_3840x2160@60.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_1920_1080_60HZ)
#include "./EDID/EdidDp/EDID_DP_1920x1080@60.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_1920_1080_60HZ_HDR)
#include "./EDID/EdidDp/EDID_DP_1920x1080@60_HDR.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_1920_1080_60HZ_MACBOOK)
#include "./EDID/EdidDp/EDID_DP_1920x1080@60_MACBOOK.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_1920_1080_30HZ_144HZ_FREESYNC)
#include "./EDID/EdidDp/EDID_DP_1920x1080_FREESYNC(30,144).h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_1920_1080_50HZ_75HZ_FREESYNC)
#include "./EDID/EdidDp/EDID_DP_1920x1080_FREESYNC(50,75).h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_2560_1440_60HZ_DELL)
#include "./EDID/EdidDp/EDID_DP_2560x1440@60_DELL.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_2560_1440_60HZ_HDR)
#include "./EDID/EdidDp/EDID_DP_2560x1440@60_HDR.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_2560_1440_144HZ_NIVIDIA_GTX770)
#include "./EDID/EdidDp/EDID_DP_2560x1440@144_NIVIDIA_GTX770.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_3840_2160_30HZ_DELL)
#include "./EDID/EdidDp/EDID_DP_3840x2160@30_DELL.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_3840_2160_60HZ_AOC)
#include "./EDID/EdidDp/EDID_DP_3840x2160@60_AOC.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_3840_2160_60HZ_BENQ)
#include "./EDID/EdidDp/EDID_DP_3840x2160@60_BENQ.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_3840_2160_60HZ_RTK)
#include "./EDID/EdidDp/EDID_DP_3840x2160@60_RTK.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_3840_2160_60HZ_HDR)
#include "./EDID/EdidDp/EDID_DP_3840x2160@60_HDR.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_5120_2880_60HZ_AMD)
#include "./EDID/EdidDp/EDID_DP_5120x2880@60_AMD.h"
#elif(_EDID_D2_TYPE_SEL == _EDID_DP_3840_2160_120HZ_AMD)
#include "./EDID/EdidDp/EDID_DP_3840x2160@120_AMD.h"
#endif
};

#endif
